﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Dashboard.aspx.cs" Inherits="BackupMirthToTFS.Dashboard" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        Dashboard
    </h2>
 
        <table border="0" cellpadding="3" cellspacing="3" width="100%">
            <tr>
                
                <td valign="top">
                    <h3>
                        Mirth Backups</h3>
                    <asp:GridView runat="server" AutoGenerateColumns="false" ID="MirthBackupGrid">
                        <Columns>
                            <asp:HyperLinkField HeaderText="Name" DataNavigateUrlFormatString="MirthBackup/{0}"
                                DataNavigateUrlFields="Name" DataTextField="Name" />
                            <asp:HyperLinkField HeaderText="Server" DataNavigateUrlFormatString="MirthBackup/{0}"
                                DataNavigateUrlFields="Name" DataTextField="MirthHost" />
                                <asp:HyperLinkField HeaderText="Last Successful Run" DataNavigateUrlFormatString="MirthBackup/{0}"
                                DataNavigateUrlFields="Name" DataTextField="LastCompletedOn" DataTextFormatString="{0:yyyy-MM-dd HH:mm}" />
                                  
                                  <asp:HyperLinkField HeaderText="Active" DataNavigateUrlFormatString="MirthBackup/{0}"
                                DataNavigateUrlFields="Name" DataTextField="IsActive"  />
                                
                                
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
        </table>
  
k</asp:Content>
